net: e1000: Fix the build with driver model and SPI EEPROM
authorAlban Bedel <[email protected]>
Wed, 3 Aug 2016 09:31:03 +0000 (11:31 +0200)
committerJoe Hershberger <[email protected]>
Mon, 15 Aug 2016 18:34:45 +0000 (13:34 -0500)
commiteb4e8ceb4787ffaba4c2ff3b34978138b25ec248
tree99d432aa3c88a41ff160a74ca7d1ebfb058fe9f8
parent70f14636861e70276426687dc3cf6ede3e1c2b99
net: e1000: Fix the build with driver model and SPI EEPROM

When adding support for the driver model the SPI EEPROM feature had
been ignored. Fix the build with both CONFIG_DM_ETH and
CONFIG_E1000_SPI enabled.

Signed-off-by: Alban Bedel <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
drivers/net/e1000.c
drivers/net/e1000_spi.c